eric programming leetcode 33